<%@ page import ="com.swit.mobile.servlet.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<title>모바일 일자별 로그 페이지</title>
<meta name="Keywords" content="" />
<meta name="Description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, target-densitydpi=medium-dpi" /><!-- 가로,세로크기고정 -->
<meta name="format-detection" content="telephone=no" />
 
<link rel="stylesheet" type="text/css" href="/mobile_demo/html/css/sub01.css" />
<script language="JavaScript" charset="UTF-8">
	function search(dt){
		location.href = "/mobile_demo/log?attribute=daily_lists&dt=" + dt;
	}	
</script>

</head>
<%
	BaseBean[] 	beans		= (BaseBean[])request.getAttribute("beans");	
%>
<body onLoad="setTimeout(function(){window.scrollTo(0,1)},100);">
<div class="wrap">
 
 
<div class="container">
 
	<div class="contents">
	
		<h3 class="subTitleBoxBlue">모바일 일자별 로그 페이지</h3><!--  -->
		
		<table class="table01 mgT12">
			<caption>모바일 일자별 로그 페이지</caption>
			<colgroup>
				<col style="width:*;" />
				<col style="width:15%;" />
				<col style="width:15%;" />
				<col style="width:15%;" />
				<col style="width:20%;" />
			</colgroup>
			<thead>
				<tr>
					<th scope="col">일자</th>
					<th scope="col">IOS</th>
					<th scope="col">And</th>
					<th scope="col">Tot</th>
					<th scope="col" class="last">Detail</th>
				</tr>
			</thead>
			<tbody class="center">
				<%
				if( beans.length > 0){	
					for(int i=0; i<beans.length; i++){
				%>
					<tr>
						<td><%=beans[i].getValue("dt")%></td>
						<td><%=beans[i].getValue("cnt_ios")%></td>
						<td><%=beans[i].getValue("cnt_and")%></td>
						<td><%=beans[i].getValue("cnt_all")%></td>
						<td><input type="button" value=" ▶ " onClick="javascript:search('<%=beans[i].getValue("dt")%>');"></td>
					</tr>
				<%	
					}
				}else{
				%>
				<tr>
					<td colspan="5">데이터가 없습니다.</td>
				</tr>
				<%
				}
				%>
			</tbody>
		</table>
		 
		<hr />
			 
	 
	</div>
</div>
</div>
</body>
</html>

